﻿<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>移动在线评教</title>
<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">

<link rel="stylesheet" type="text/css" href="/assets/css/css.css">
<link rel="stylesheet" type="text/css" href="/assets/css/reset.css">
<script src="https://apps.bdimg.com/libs/jquery/2.1.4/jquery.min.js"></script>
<script type="text/javascript" src="/assets/js/rem.js" ></script>

</head>
<body>

<div class="topic">
	<div class="entrance-bottom">
		<div class="topic-frameli"></div>
		<div class="entrance-bottom-frame clearfix">
			
		</div>
	</div>
</div>

<script src="/assets/js/index.js" type="text/javascript" charset="utf-8"></script>
<script type="text/javascript">
		window.onload = function(){
      $.ajax({url:'api/allQuestion',method:'GET',success:(res)=>{
        console.log(res)
        var data1 = res
        TiMu(data1,getQueryVariable("userId"),getQueryVariable("teacherId"))
      }})
}

function getQueryVariable(variable)
{
       var query = window.location.search.substring(1);
       var vars = query.split("&");
       for (var i=0;i<vars.length;i++) {
               var pair = vars[i].split("=");
               if(pair[0] == variable){return pair[1];}
       }
       return(false);
}

</script>

<div style="text-align:center;">
</div>
</body>
